Skip to content

chore: prepare for repository split#595

Merged
jahn-junior merged 13 commits intomainfrom
work/remove-docs/DOCPR-2745
May 1, 2026
Merged

chore: prepare for repository split#595
jahn-junior merged 13 commits intomainfrom
work/remove-docs/DOCPR-2745

Conversation

@jahn-junior
Copy link
Copy Markdown
Collaborator

@jahn-junior jahn-junior commented Apr 21, 2026

  • Have you updated CHANGELOG.md with relevant non-documentation file changes?
  • Have you updated the documentation for this change?

Overview

By separating the documentation from the template itself, we simplify the process of boostrapping and maintaining docs projects for our users. The docs need to be deleted in new projects and prevent users from merging in changes from the Starter Pack as an upstream remote. They also have no way to differentiate between core Starter Pack elements and extra configuration needed for its docs, which leads to lots of bloat ending up in downstream projects.

This PR removes the Starter Pack docs from this repository. After this is merged and announced, documentation will be maintained in https://github.com/canonical/starter-pack-docs (name not finalized).

Project-specific configuration values have been replaced with null values. Any values that aren't commonly changed were left with reasonable defaults. I also took a lot of whitespace out of the configuration file and tweaked some of the TODOs.

Note for reviewers

Review these changes: The diff is nearly all deletions. I recommend skipping to the conf.py file in the diff, as that has the most subjective changes. To check the repository structure, it'll be easiest to look at my branch directly to check the structure.

Review the Sphinx Stack documentation repository: I think the best option here is to check out my branch, build it locally, and do a quick safety check on the rendered pages. No sneaky changes—just the rename and source formatting.

@jahn-junior jahn-junior added the breaking change PR introduces a breaking change. label Apr 21, 2026
@jahn-junior jahn-junior changed the title Work/remove docs/docpr 2745 chore!: remove docs and default configuration Apr 21, 2026
@jahn-junior jahn-junior changed the title chore!: remove docs and default configuration chore: remove docs and default configuration Apr 21, 2026
@jahn-junior jahn-junior removed breaking change PR introduces a breaking change. labels Apr 21, 2026
Copy link
Copy Markdown
Collaborator

@medubelko medubelko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I left a few general comments. We could invest significant effort in improving the comments, but I don't know if we have the time.
  • Where do we stand with changelog vs. release notes in the code?

Comment thread docs/conf.py Outdated
Comment thread docs/conf.py
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py
Comment thread docs/conf.py
Comment thread docs/conf.py Outdated
@jahn-junior jahn-junior changed the title chore: remove docs and default configuration chore: prepare for repository split Apr 30, 2026
@jahn-junior jahn-junior mentioned this pull request Apr 30, 2026
2 tasks
Copy link
Copy Markdown
Collaborator Author

@jahn-junior jahn-junior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few general comments. We could invest significant effort in improving the comments, but I don't know if we have the time.

Let's come back to this for https://github.com/canonical/sphinx-docs-starter-pack/issues/488.

Where do we stand with changelog vs. release notes in the code?

Since the changelog is relied on by the upgrade script, it has to stay put. Instead of leaving the release notes somewhere in the repository, I'd rather rely on the GitHub releases.

Comment thread docs/conf.py
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py Outdated
Comment thread docs/conf.py
Comment thread docs/conf.py Outdated
@jahn-junior jahn-junior requested a review from medubelko April 30, 2026 02:28
Comment thread docs/conf.py Outdated
Copy link
Copy Markdown
Contributor

@a-velasco a-velasco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read through the conf.py, and tried adding new docs to an existing project with this branch. Everything works as expected locally.

I also tested your branch (work/rename-and-format) in the sphinx-stack-docs repo and browsed through the edited docs. I only saw one thing I'd like to see tweaked before merging it (I left a comment on the commit, and in the process learned that you can apparently leave comments in random commits).

@jahn-junior jahn-junior requested a review from a-velasco April 30, 2026 15:17
Copy link
Copy Markdown
Contributor

@a-velasco a-velasco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this absolutely massive effort 🎉 Truly worthy of a major version update.

Copy link
Copy Markdown
Collaborator

@medubelko medubelko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and tests good.

One parting thought. This is what the template builds to:

image

WDYT about:

image

It might make the placeholders more consistent + obvious.

@jahn-junior jahn-junior added the Awaiting release Will be merged for the next minor release. label May 1, 2026
@jahn-junior
Copy link
Copy Markdown
Collaborator Author

Removed documentation pages are redirected through RTD to a new repo and domain.

@jahn-junior jahn-junior merged commit c549bf4 into main May 1, 2026
7 of 9 checks passed
@jahn-junior jahn-junior deleted the work/remove-docs/DOCPR-2745 branch May 1, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting release Will be merged for the next minor release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants